﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Character.Sheet

    ''' <summary>
    ''' A class that encapsulates hit rating stats
    ''' </summary>
    ''' <remarks></remarks>
    Public Class PhysicalHitRatingStats

        ''' <summary>
        ''' The character's bonus to hit from hit rating
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property IncreasedHitPercent As Double

        ''' <summary>
        ''' The character's armor penetration rating
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ArmorPenetrationRating As Integer

        ''' <summary>
        ''' The character's armor reduction expresed in percent from armor penetration rating
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ArmorPenetrationPercent As Double

        ''' <summary>
        ''' The character's hit rating
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Value As Integer

        ''' <summary>
        ''' A constructor to create new hit rating information
        ''' </summary>
        ''' <param name="dblIncreasedHitPercent"></param>
        ''' <param name="intPenetration"></param>
        ''' <param name="dblReducedArmorPercent"></param>
        ''' <param name="intValue"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal dblIncreasedHitPercent As Double, ByVal intPenetration As Integer, ByVal dblReducedArmorPercent As Double, ByVal intValue As Integer)
            IncreasedHitPercent = dblIncreasedHitPercent
            ArmorPenetrationRating = intPenetration
            ArmorPenetrationPercent = dblReducedArmorPercent
            Value = intValue
        End Sub

    End Class

End Namespace
